<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/wondershare/js/jquery.js"></script> 
<script src="/wondershare/js/ad.js"></script> 
<link href="/wondershare/styles/main.css" rel="stylesheet" type="text/css" />
<link href="/wondershare/styles/general.css" rel="stylesheet" type="text/css" />
<title><{$web_info}>广告位管理</title>
 <style type="text/css">
catListTag {
	DISPLAY: none
}
.cvBoxShade {
	Z-INDEX: 2000; BACKGROUND: #ccc; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 0px
}
.cvBoxBorder {
	BORDER-RIGHT: #000000 0px solid; PADDING-RIGHT: 8px; BORDER-TOP: #000000 0px solid; PADDING-LEFT: 8px; FONT-SIZE: 12px; Z-INDEX: 2000; PADDING-BOTTOM: 8px; BORDER-LEFT: #000000 0px solid; WIDTH: 100%; PADDING-TOP: 8px; BORDER-BOTTOM: #000000 0px solid; POSITION: absolute; BACKGROUND-COLOR: #ccc
}
.cvBoxBorder A {
	COLOR: #486aaa; TEXT-DECORATION: none
}
.cvBoxBorder A:hover {
	COLOR: #c00; TEXT-DECORATION: none
}
.cvBoxTitleBar {
	WIDTH: 100%; LINE-HEIGHT: 27px; HEIGHT: 26px; BACKGROUND-COLOR: #eeeeee
}
.cvBoxTitleBarText {
	PADDING-LEFT: 10px; FONT-WEIGHT: bold; FLOAT: left; COLOR: #333
}
.cvBoxTitleBarClose {
	PADDING-RIGHT: 10px; FLOAT: right; COLOR: #3867af; FONT-FAMILY: Verdana
}

.cvBoxBody {
	WIDTH: 100%; BACKGROUND-COLOR: #ffffff
}
</style>
</head>
<body >
<h1>
<span class="action-span">
<a href="/wondershare/ad_position.php?action=addEdit&act=add&w_type=<{$w_type}>">添加广告位</a>
</span>
<span class="action-span1">
<a href="/wondershare/ad.php?action=index&w_type=<{$w_type}>"><{$web_info}>广告管理</a> > 广告位管理
</span>
<div style="clear:both"></div>
</h1>
<table width="100%" cellspacing="1" cellpadding="2" id="list-table" class="list-div" style="margin-top:10px;">
<tbody>
  <tr>
 	 <th >广告位ID</th> 
    <th>广告位名称</th>
	<th>广告位尺寸</th>
	<th>广告位备注</th>
	<th>操作人员</th>
    <th>最后操作时间</th>
	<th>编辑</th>
  </tr>
  
  <{foreach from=$position_info item=info}>
 
      <tr  id="tr_<{$info.position_id}>">
        <td width="5%" align="center"  >
         <{$info.position_id}></td>
        <td width="21%" align="center"  id="td_position_name_<{$info.position_id}>" >
        <span   onmouseout="check_css('position_name_<{$info.position_id}>',0);" onmouseover="check_css('position_name_<{$info.position_id}>',1);"      
        onclick="check_info(<{$w_type}>,'<{$info.position_id}>','position_name_<{$info.position_id}>','td_position_name_<{$info.position_id}>','200','position_name');"  
        id="position_name_<{$info.position_id}>" ><{$info.position_name|escape}></span>
        </td>
        
        <td width="9%" align="center" >
        <{$info.position_size}>
        </td>
        <td width="15%" align="center" > 
        <{$info.position_description}>
        </td>
        <td width="10%" align="center" > 
        <{$info.update_user}>
        </td>
        <td width="10%" align="center" > 
        <{$info.update_time}>
        </td>
        
         <td width="10%" align="center">
        <a href="#" onclick="{if(confirm('确定要删除记录吗?')){delete_ad(<{$info.position_id}>, 'list_id', 'ad_position');}return false;}" >删除</a> | 
        <a href="/wondershare/ad_position.php?action=addEdit&act=edit&w_type=<{$w_type}>&position_id=<{$info.position_id}>" > 编辑 </a>
        </td>
      </tr>
  <{/foreach}>
  <tr>
  <td colspan="11" align="center"><{$page_url}> &nbsp; 共有 <span id="total"><{$total}> </span>条记录
  </td>
  </tr>
  
  </tbody>
</table>


</body>
</html>